package br.unb.mestrado.simulator.model.simulator.statistic;

public class QualityFormulaStatistic {

	private int numberOfResult;
	private int numberOfResultMCF;
	private int numberOfResultGOAL;
	
	private int numberOfResultMCFApproved;
	private int numberOfResultGOALApproved;
	
	
	public int getNumberOfResult() {
		return numberOfResult;
	}
	public void setNumberOfResult(int numberOfResult) {
		this.numberOfResult = numberOfResult;
	}
	public int getNumberOfResultMCF() {
		return numberOfResultMCF;
	}
	public void setNumberOfResultMCF(int numberOfResultMCF) {
		this.numberOfResultMCF = numberOfResultMCF;
	}
	public int getNumberOfResultGOAL() {
		return numberOfResultGOAL;
	}
	public void setNumberOfResultGOAL(int numberOfResultGOAL) {
		this.numberOfResultGOAL = numberOfResultGOAL;
	}
	public int getNumberOfResultMCFApproved() {
		return numberOfResultMCFApproved;
	}
	public void setNumberOfResultMCFApproved(int numberOfResultMCFApproved) {
		this.numberOfResultMCFApproved = numberOfResultMCFApproved;
	}
	public int getNumberOfResultMCFRepproved() {
		return getNumberOfResultMCF()-getNumberOfResultMCFApproved();
	}
	public int getNumberOfResultGOALApproved() {
		return numberOfResultGOALApproved;
	}
	public void setNumberOfResultGOALApproved(int numberOfResultGOALApproved) {
		this.numberOfResultGOALApproved = numberOfResultGOALApproved;
	}
	public int getNumberOfResultGOALReproved() {
		return getNumberOfResultGOAL()-getNumberOfResultGOALApproved();
	}
	public Double getPercentageApprovementGOA() {
		return (double) (getNumberOfResultGOALApproved()/(double)getNumberOfResultGOAL());
	}
	public Double getPercentageApprovementMCF() {
		return (double) (getNumberOfResultMCFApproved()/(double)getNumberOfResultMCF());
	}
	
}
